SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51d9e923332fab737708d4a5996deb79d19c8d2c34a37a15bbecf096df8f85a7' 
  AND token = 'gjYpETs8gF2m6RI63EWTfBPIS6CeyZax9vIZ4l/avdg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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