SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3b0f850e96e94a47578acfbf832ca14207f620f6923dacd77d306776bd0b5411' 
  AND token = 'L4BA4gAgsXRAtSxduqjw5Fe4IAHxJL8fWK7O6Vwkcks=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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