SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5e7c5665e3035bc1b9e8a22c0564c8f726b3317541a8c4d19e604f24468cdd6c' 
  AND token = 'UxkkcsNJ4p4l9ZMJAg8/+1oAdQ8T0JSeWjR9C5KaXNg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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