SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c173a855efe3b1355d800b184df42309d6c5530bb8e333783d9656dfb393612d' 
  AND token = 'DQkicYNdoHNVy2MiMRMmjDUfKZSjV+tCtGWELtNDbg0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00067

JSON explain

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