SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c4f0da2ae8af105d073b254fab2aab24d711e8606660625da3a54f5eb6d37e2' 
  AND token = 'pGllk4wgcSHiB6mYmFBtC2oGKmP4rm/hT5CuZE1wCAw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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