SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a314e1be5fdbe392e02d1510e4e835e91c8854db137967fd48daf8e711fee0ed' 
  AND token = 'iNM3fHr0fqbNXrM1Lz/4efy6xTvd/feKDu3Li/GCXYo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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