SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8b33a3e76b4f3babc0a0baedc2088d2db20ca17f4500c31791a65d989223d0b3' 
  AND token = 'gSpF/DqAz/JRaxkTVB3v4tcE+OV5W6yIX17g2ipoMDk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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