SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8180a09f0b38e9fb5c06b7e87eed5a3ac02fd0b50cc704a5edf5c7e3045aaf1f' 
  AND token = 'cYn5KcUfpqnFen+2notFMXFl99YR1BgiN71bNfEgdV0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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