SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '321225951301aaf5c7a3fc07e333fd0151407bb54dbc6784c83b1dbd5c94713b' 
  AND token = '0u4GccyA7Givp9zVZahuaxlv4IAPfmayRwzrOESbpOQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00104

JSON explain

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