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

Query time 0.00025

JSON explain

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