SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2b79b1bc391a77cb7832504969ac5864476b5fcb49238bd19158ecf4fef05851' 
  AND token = 'LmWNf42+tRmfANCfBg5KE6tos3VaiAP5tZtTe7uoI94=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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