SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd17c10165e40390f50b056636070715ad27165744aba245648a6b5d39dd167e1' 
  AND token = 'UR/VU2sRVc8rd88BiJLCeqwS6gtI6GvNdjOtcgvzHAs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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