SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4f3f1dac57866e55101cef038a50cec9ee7a788285c90afe7af0d666a3b87ccf' 
  AND token = 'YwOhqcOfumRvplilOBHvr6tQQf3Ac32IP+5RuX8v/G8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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