SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '066e98746541ec3df42d3abebb30f69b912130fcfd6840e21a6db3d7d1d251af' 
  AND token = '2Gt7DE59z344lBXYMDFoLYI4K0edvt8T+tsf0yBl5JY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}