SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2f5ff792e348a81ea2e9f299a2ef7849d9f715e9e2d7a4f0df8c8cbfb6fe49cb' 
  AND token = 'twJyVEKBQoJQm8VHcyICFfsWXidg7yyA/wf3oHa5EKg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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