SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6f7678627f17a31d92e766bcf6b06e93fc0c1d42b33e62510af5a1ef3bd40b5e' 
  AND token = 'Ljo27a23HpjyGgwv2ImETVmEfUvamKMJdZ3UHBF2DV8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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