SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '02d2745e41e65b0ef69a5cbeb5f73db010dd0176f267f98b9afae85c1cfb28a5' 
  AND token = 'NAB+xFZgCnn9UdHz+K46Gylp2Ho0X7P+d2BcvQeffGQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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