SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd7507be0dde2eee93e863b78f040acead56e656e93b9f487cd0d2729efef0e6' 
  AND token = 'GpHBaOg9wWDTIQOQQ174c15SUr8XGWj5l5E9V4zoLdI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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