SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '525771b70b78e2a78a646934604979fc647e133848e6fd3948a91569671daea9' 
  AND token = '2uZDqv99Opoq0VPzOWxjb09PWBhZ0u8MPpZaoB8/hWc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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