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

Query time 0.00018

JSON explain

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