SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e439d65fa5bd291b8d9e1b160ee9f64c8640a5d1ab9d2a3c8104c590903387f7' 
  AND token = 'K4ZDm7hT/dBIwokhqXMMVWRtenx48o3S4/AZiNXi6Co=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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