SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd9d81e306147d7856d8420ea3acd764fed8a6c31168ddd4c1aad8ca38ef4e235' 
  AND token = 'I0WpPhZwXmjfQclT6zkqJGJevzNBqDpQRxNsWQIuVTg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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