SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '41de0d43839549ecef20e20b1dfd37bf5c9cfeec10568fb79e674eb45432215f' 
  AND token = 'UpKgKQLFYqPjbkzKRLaX9QCgKdMAkWVf8ZM2JxAv57Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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