SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2768822fbe5f7eb7aa609691479ef24890ff4008830279a3978285b79476ccb2' 
  AND token = 'Zi7wkUJNdCZpX6Wj9hy2ay+7dSGhohEIMRe+ej1MK2Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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