SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0bfa5b254609903ef18878797ffd1ad069b8d79491b6295b83424a4b1365f879' 
  AND token = '1CV6jvzQsSlSMLTQYaG5sfTGdxRRe9rzNx8/Q2CU3ME=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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