SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6d018dd631e0d83e4cbe9d0e9e38c57a7f2e304e87f42bf8f720485d6edf6b4c' 
  AND token = '/30iuyFX2r3VwS3MrFgR9w9AFMWPQXRkGtTibrx/aCk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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