SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '478e2587d2a0116da8ba5e1d75012b57e3fa7bb5f86a52ca391119d422d3c548' 
  AND token = 'OXJwARR6zFF80hEc23V0APYMowxeOzWaMTJt/E1WU3s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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