SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1c740f8398b905c17b37321ebeaf23a04dc141e1c498adab77eeb6bcea0df4ce' 
  AND token = 'MvSx6PP3hR1wyTMyu51xqtbwKBbS/Gxmgt6AOer030s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}