SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '87da55802523b10b0f71cb406f06344c54b6c16ba4996bd2f1262bec4532497e' 
  AND token = 'IkuKFARZvTrEhMfNEO4K57KKowh9tIMzATZbfcvL81c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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