SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '04ecf3bdb9decbca18161e07bceb4b14b76681fcc64351d67161b32bc07d99f7' 
  AND token = 'YS/L+tCS7gRZFgGi036hA6h79HXpPkMqNlchEmIKEfA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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